package com.niuwa.p2p.entity.role;

import java.io.Serializable;
import java.util.List;

public class RoleResource implements Serializable{	private static final long serialVersionUID = 3092418041826705695L;

	private String id;//主键id
	private Integer roleId;//角色id
	private Integer resourceId;//资源id
	
	/*多条记录绑定属性*/
	private String roleIds;
	private List<String> resourceIds;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public Integer getResourceId() {
		return resourceId;
	}
	public void setResourceId(Integer resourceId) {
		this.resourceId = resourceId;
	}
	public String getRoleIds() {
		return roleIds;
	}
	public void setRoleIds(String roleIds) {
		this.roleIds = roleIds;
	}
	public List<String> getResourceIds() {
		return resourceIds;
	}
	public void setResourceIds(List<String> resourceIds) {
		this.resourceIds = resourceIds;
	}
}
